package sun.com;

public class interfaceImpl implements MyInterface<Student>{

    @Override
    public boolean test(Student s) {
        if (s.getAge()>50)
            return true;
        return false;
    }

}
